package com.qf.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 提供者的启动类
 * @author zjw
 * @EnableDiscoveryClient   ，常见的注册中心，Eureka，Zookeeper，Nacos，Consule，Redis，阿波罗…………
 */
@SpringBootApplication
@EnableEurekaClient    // 可以省略
public class ProviderApp {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApp.class,args);
    }
}
